import request from '@/utils/request'

export function interactionMonitor() {
  return request({
    url: '/bigScreen/interactionMonitor',
    method: 'get',
  })
}

export function plcReset(address) {
  return request({
    url: `/bigScreen/plc_reset/${address}`,
    method: 'get',
  })
}

export function currentInOrderInfo() {
  return request({
    url: '/bigScreen/currentInOrderInfo',
    method: 'get',
  })
}

export function currentPalletInfo() {
  return request({
    url: '/bigScreen/currentPalletInfo',
    method: 'get',
  })
}

export function palletOffline(palletId) {
  return request({
    url: `/bigScreen/palletOffline/${palletId}`,
    method: 'get',
  })
}

export function producerInfo(producerCode) {
  return request({
    url: `/bigScreen/producerInfo/${producerCode}`,
    method: 'get',
  })
}

export function imsCockpit() {
  return request({
    url: `/bigScreen/imsCockpit`,
    method: 'get',
  })
}

export function alarmInfo() {
  return request({
    url: `/bigScreen/alarmInfo`,
    method: 'get',
  })
}
